package cn.qinhao.pethome.shop.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.qinhao.pethome.basic.base.domain.BaseDomain;
import cn.qinhao.pethome.employee.domain.Employee;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author qinhao
 * @since 2023-02-23
 */
@Data
public class Shop extends BaseDomain{

    private static final long serialVersionUID = 1L;
    @Excel(name = "店铺名字" ,orderNum = "1", width = 30)
    private String name;
    @Excel(name = "电话" ,orderNum = "2", width = 30)
    private String tel;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GTM+8")
    @Excel(name = "注册时间" ,orderNum = "3", width = 30,format = "yyyy-MM-dd")
    private Date registerTime;
    @Excel(name = "状态" ,orderNum = "4", width = 30)
    private Integer state;
    @Excel(name = "店铺地址" ,orderNum = "5", width = 30)
    private String address;
    private String logo;
    private Long adminId;
    //接收前端的员工对象信息
    private Employee employee;


}
